home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: C++ and C
- Date: 5 Mar 1996 02:33:34 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4hg95u$38d@news1.usa.pipeline.com>
- References: <313BCEA7.4831@pi.net>
- NNTP-Posting-Host: pipe16.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline v3.5.0
-
- On Mar 04, 1996 21:18:31 in article <C++ and C>, 'Marc Lucassen
- <lucassen@pi.net>' wrote:
-
-
- >I have a problem whith connecting C and C++.
- >If you know the answer, please send to me.
- >I want to use some functions from a 'dll' compiled in C++ whitch contains
-
- >some classes. Is it possible to use this functions with C source and how
- >do I have to declare this functions. (I also make the 'C++' source). I
- >get problems with compiling and linking them.
- >
- Do you have a header file for the DLL?
- Are the exported functions declared with extern "C"?
-
- If not, you have a problem.
-
- BTW, there's no reasonable way for you to call the C++ member
- functions from your C program.
-
- --
- Pete Grant
- Kalevi, Inc.
- Software Engineering & development
-